package lqy16;

package org.csmzxy.class2334;
class UserManager{
    static int UserNum;
    public UserManager(){
        UserNum ++;
    }
}
public class Example10 {
    public static void main(String[] args){
        UserManager userManager = new UserManager();
        UserManager userManager1 = new UserManager();
        UserManager userManager2 = new UserManager();
        System.out.println("目前已创建的用户数量为" + UserManager.UserNum);
    }
}
